﻿using Portfolio.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace Portfolio.Web.Controllers
{
    public class ProjectsController : ApiController
    {
        public IHttpActionResult GET()
        {
            //Returns all projects
            return Ok();
        }
        public IHttpActionResult GET(int id)
        {
            //Return one project
            return Ok();
        }
        public IHttpActionResult POST(Project project)
        {
            //Create a project
            //Return the Id of the project
            return Ok();
        }
        public IHttpActionResult PATCH(Project project)
        {
            //Update a project
            return Ok();

        }
        public IHttpActionResult DELETE(int id)
        {
            //Delete the post
            return Ok();
        }
    }
}
